<!--header-->
<div app-header left='' center='{{title}}' right='已到期' white='true'></div>
<!--header end-->
<div class="mui-content" style="margin-top: -10px;">
	<div class="regular_top">
		<h2>持有资产(元)</h2>
		<h1>{{regularInfo.current_capital_value|jiequ}}</h1>
		<div class="regular_top_bottom">
			<div ng-click="send()">
				<h3>昨日利息(元)</h3>
				<p>{{regularInfo.intrest_yesterday|jiequ}}</p>
			</div>
			<div ng-click="send()">
				<h3>累计利息(元)</h3>
				<p>{{regularInfo.intrest_total|jiequ}}</p>
			</div>
		</div>
	</div>

	<div class="regular_list" ng-if="regularInfo.productOverviews.length>0">
		<div class="regular_list_item" ng-repeat="item in regularInfo.productOverviews" ng-click="details(item)">
			<div class="item_box">
				<dl>
					<dt>
						{{item.product_name}}
					</dt>
					<dd>本金 <em>{{item.current_principal_balance}}</em>
						<font>元</font>
					</dd>
					<!--募集中-->
					<dd ng-if="item.status==1">募集中</dd>
					<dd ng-if="item.status==1">约定年利率{{item.rate*100|jiequ}}%</dd>
					<dd ng-if="item.status==1">期限{{item.term}}天</dd>
					
					<!--募集完成-->
					<dd ng-if="item.status==2">起息审核中</dd>
					<dd ng-if="item.status==2">约定年利率{{item.rate*100|jiequ}}%</dd>
					<dd ng-if="item.status==2">期限{{item.term}}天</dd>
					
					<!--起息中-->
					<dd ng-if="item.remain_return_day>=1&&item.status==0">还款倒计时<em>{{item.remain_return_day}}</em>
						<font>天</font>
					</dd>
					<dd ng-if="item.remain_return_day<1&&item.status==0">还款中</dd>
					<dd ng-if="item.status==0">当前利息 {{item.intrest_total|jiequ}}元</dd>
					<dd ng-if="item.status==0">到期日期 {{item.maturity_date}}</dd>
					
				</dl>
			</div>
		</div>
	</div>

	<!--无数据-->
	<div style="display: table-cell;vertical-align: middle;text-align: center;" id="empty" ng-show="regularInfo.productOverviews.length==0">
		<img src="image/empty/empty_jiluxinxi@2x.png" style="width: 108px;height: 121px;" />
		<p style="margin-top: 20px;">暂无交易记录</p>
	</div>

</div>

<!--弹窗-->
<div class="mui-backdrop animated fadeIn" style="z-index:999" ng-show="VpwdShow" ng-click="VpwdShow=false"></div>

<div class="VerifyPassword" ng-show="VpwdShow">
	<h1>输入交易密码,以验证身份</h1>
	<div class="verifyBox">
		<input type="password" ng-model="pwd" autocomplete="off" placeholder="输入交易密码" />
		<span ui-sref="BackTradePwd">忘记密码</span>
	</div>
	<div class="verifyBtn">
		<span ng-click="VpwdShow=false">取消</span>
		<span ng-click="isReinvest()">确定</span>
	</div>
</div>